//
//  ERCatalog.h
//  EpubReader
//
//  Created by zhuxuhong on 2016/12/14.
//  Copyright © 2016年 zhuxuhong. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ERCatalogItem : NSObject

@property(nonatomic,copy)NSString *title;
@property(nonatomic)NSInteger pageNumber;
@property(nonatomic,copy)NSString *href;

+(instancetype)initWithDictionary: (NSDictionary*)dict;

@end


@interface ERCatalog : NSObject

@property(nonatomic,copy)NSString *href;
@property(nonatomic,copy)NSString *title;
@property(nonatomic)NSInteger pageNumber;
@property(nonatomic,strong)NSArray<ERCatalogItem*> *items;

+(instancetype)initWithDictionary: (NSDictionary*)dict;

@end
